package com.koron.order.patrol.bean.po;


import com.koron.bean.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 巡视工单-巡视点从表(PatrolPoint)实体类
 *
 * @author zhouj
 * @since 2021-10-27 11:38:17
 */
@Data
@ApiModel("巡视工单-巡视点从表")
public class PatrolPointPo extends BaseBean implements Serializable {

    @ApiModelProperty(value = "巡视工单id")
    private String patrolId;

    @ApiModelProperty(value = "巡视点id")
    private String planPatrolPointId;

    @ApiModelProperty("RFID编号")
    private String rfidCode;

    @ApiModelProperty("巡视点编码")
    private String code;

    @ApiModelProperty(value = "巡视点名称")
    private String name;

    @ApiModelProperty(value = "巡视状态")
    private String status;

    @ApiModelProperty(value = "实际巡视人")
    private String worker;

    @ApiModelProperty(value = "实际巡视人")
    private String workerName;

    @ApiModelProperty(value = "巡视时间")
    private Date workTime;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "有效范围(米)")
    private Integer range;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "环境确认结果")
    private Integer envStatus;

    @ApiModelProperty(value = "环境备注")
    private String envRemarks;

    @ApiModelProperty(value = "签到状态")
    private Integer arriveStatus;

    @ApiModelProperty(value = "签到时间")
    private Date arriveTime;

    @ApiModelProperty(value = "签到方式")
    private String arriveWay;

    @ApiModelProperty(value = "签到备注")
    private String arriveRemarks;

    @ApiModelProperty(value = "序号")
    private Integer sort;

    @ApiModelProperty("巡视点类型 设备间，设备（无巡视环境）")
    private String patrolPointType;

    @ApiModelProperty("移动端巡视后,根据此字段判断该巡视点是否需要更新")
    private Boolean needUpdate = false;

    // 巡视详情页列表查询时需要查出此字段 1正常 -1异常
    @ApiModelProperty(value = "确认结果")
    private Integer result = 1;
}